﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_spm_Recipient : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo iD = new FieldInfo("cmd_Recipient", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("cmd_Recipient", "Process");
        [Column]
        public string Step { get { return _Step; } set { _Step = value; EntityState.FieldChange("Step"); } } private string _Step; public static FieldInfo step = new FieldInfo("cmd_Recipient", "Step");
        [Column]
        public string SalesOffice { get { return _SalesOffice; } set { _SalesOffice = value; EntityState.FieldChange("SalesOffice"); } } private string _SalesOffice; public static FieldInfo salesOffice = new FieldInfo("cmd_Recipient", "SalesOffice");

        [Column]
        public string Sales_Group { get { return _Sales_Group; } set { _Sales_Group = value; EntityState.FieldChange("Sales_Group"); } } private string _Sales_Group; public static FieldInfo sales_Group = new FieldInfo("mdc_spm_Recipient", "Sales_Group");

        [Column]
        public string Division { get { return _Division; } set { _Division = value; EntityState.FieldChange("Division"); } } private string _Division; public static FieldInfo division = new FieldInfo("cmd_Recipient", "Division");

        [Column]
        public string Region { get { return _Region; } set { _Region = value; EntityState.FieldChange("Region"); } } private string _Region; public static FieldInfo region = new FieldInfo("cmd_Recipient", "Region");

        [Column]
        public string Recipient { get { return _Recipient; } set { _Recipient = value; EntityState.FieldChange("Recipient"); } } private string _Recipient; public static FieldInfo recipient = new FieldInfo("cmd_Recipient", "Recipient");
        [Column]
        public string RecipientName { get { return _RecipientName; } set { _RecipientName = value; EntityState.FieldChange("RecipientName"); } } private string _RecipientName; public static FieldInfo recipientName = new FieldInfo("cmd_Recipient", "RecipientName");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("cmd_Recipient", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("cmd_Recipient", "Status");

    }
}
